# Contributor: Éloi Rivard <eloi.rivard@aquilenet.fr>
# Maintainer: Éloi Rivard <eloi.rivard@aquilenet.fr>
pkgname=py3-flask-themer
_pyname=flask-themer
pkgver=1.4.3
pkgrel=1
pkgdesc="Simple theme mechanism for Flask"
url="http://packages.python.org/pypi/flask-themer"
arch="noarch"
license="MIT"
depends="py3-flask"
checkdepends="
	py3-pytest
	py3-pytest-cov
"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/TkTech/flask-themer/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/flask-themer-$pkgver"

build() {
	python3 setup.py build
}

check() {
	PYTHONPATH="." pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
21287b19e907423e656d16fcdebdca00589d8915714d88fcd054408db2ae820a1e8d25cffc819f5b710ec6ad6265598ef831b22dbd6d81ac2a5111742214101e  py3-flask-themer-1.4.3.tar.gz
"
